package com.pucong.gitee.database.backup.business.sys.service;


import com.pucong.gitee.database.backup.common.entity.sys.authorize.AuthorizeInfo;
import com.pucong.gitee.database.backup.common.entity.sys.authorize.AuthorizeResult;
import com.pucong.gitee.database.backup.common.entity.sys.authorize.AuthorizeResultDate;

public interface SysLicenceService {

    /**
     * 校验授权是否有效
     * @return
     */
    AuthorizeResult isAuthorize();

    /**
     * 获取授权信息
     * @return
     */
    AuthorizeInfo getAuthorizeInfo();

    /**
     * 判断是否还有1个月过期
     * @return
     */
    AuthorizeResultDate isAuthorizeExpireDate();
}
